<?php

namespace JsonLowCode\UI;


use JsonLowCode\Schema;

/**
 * Slot 组件
 * @method static Slot make(string $slotName)
 */
class Slot extends Schema
{
    protected string $componentName = "Slot";

    /**
     * @param string $slotName
     */
    public function __construct(string $slotName)
    {
        parent::__construct();
        $this->props([
            "name"=>$slotName
        ]);
    }
}
